Skip to content

download_url: set check_error=False on HEAD request - #943

Merged
soxofaan merged 1 commit into
Open-EO:masterfrom
pjonsson:head-accept-403
Sep 24, 2026
Merged

soxofaan merged 1 commit into
Open-EO:masterfrom
pjonsson:head-accept-403

Conversation

@pjonsson

@pjonsson pjonsson commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Running HEAD on a pre-signed S3 URI
gives a 403 response because the URI
is signed for GET, so accept a failure
for the HEAD request and let
the download deal with the issue.

Fixes #939

Comment thread openeo/rest/_connection.py Outdated
@pjonsson pjonsson changed the title Accept 403 from HEAD on pre-signed S3 URIs download_url: set error_check=False on HEAD request Sep 23, 2026
@pjonsson pjonsson changed the title download_url: set error_check=False on HEAD request download_url: set check_error=False on HEAD request Sep 23, 2026
Comment thread CHANGELOG.md Outdated
Running HEAD on a pre-signed S3 URI
gives a 403 response because the URI
is signed for GET, so accept a failure
for the HEAD request and let
the download deal with the issue.

Fixes Open-EO#939
@soxofaan
soxofaan merged commit bc035cc into Open-EO:master Sep 24, 2026
9 checks passed
@pjonsson
pjonsson deleted the head-accept-403 branch September 24, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to download pre-signed S3 URIs with latest Ceph patch releases

2 participants